export interface GetUserCoursePageRes {
  code: number;
  data: Data;
  msg: string;
  traceId: string;
}

export interface Data {
  lessons: LessonShowInfo[];
  courses: CourseShowInfo[];
}

export interface LessonShowInfo {
  id: number;
  lessonResourceId: number;
  name: string;
  source: string;
  startTime: string;
  status: number;
  assistant: UserShowInfo;
}

export interface CourseShowInfo {
  id: number;
  name: string;
  startTime: string;
  duration: number;
  teacher: UserShowInfo;
  assistant: UserShowInfo;
  students: UserShowInfo[];
  subjectId: number;
  subjectName: string;
}

export interface UserShowInfo {
  id: number;
  name: string;
  headUrl: string;
}
